<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../../lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../lib/font-awesome-4.7.0/css/font-awesome.css" rel="stylesheet" />
    <link href="../../lib/winui/css/winui.css" rel="stylesheet" />
</head>
<body>
    <div class="winui-toolbar">
        <div class="winui-tool">
            <!-- <div class="layui-inline">
                <input type="text" name="keyWord" placeholder="名称" style="width:200px;"  class="layui-input">
            </div>
            <button class="winui-toolbtn" id="btnsearchsysmodel" >
                <i class="layui-icon layui-icon-search"></i>查询
            </button> -->
            <button id="reloadTable" class="winui-toolbtn"><i class="fa fa-refresh" aria-hidden="true"></i>刷新</button>
            <button id="addSysmodel" class="winui-toolbtn"><i class="fa fa-plus" aria-hidden="true"></i>新增</button>
            <button id="deletesysmodel" class="winui-toolbtn"><i class="fa fa-trash" aria-hidden="true"></i>删除</button>
        </div>
    </div>
    <div style="margin:auto 10px;">
        <table id="woosysmodel" lay-filter="woosysmodel"></table>
       
        <script type="text/html" id="stateTpl">
            {{#  if(d.Ustate == 0){ }}
            {{d.StateDic}}
            {{#  } else if(d.Ustate==1) { }}
            {{d.StateDic}}
            {{#  } else if(d.Ustate==2) { }}
            {{d.StateDic}}
            {{#  }else{ }}
            {{d.Ustate}}
            {{#  } }}
        </script>
        <script type="text/html" id="devsysmodeltbar">
            <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>修改</a>
            {{#  if(d.Id ==1){ }}
            <a class="layui-btn layui-btn-disabled layui-btn-xs"><i class="layui-icon layui-icon-delete"></i>删除</a>
            {{#  } else { }}
            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><i class="layui-icon layui-icon-delete"></i>删除</a>
            {{#  } }}
        </script>
        <script type="text/html" id="titleTpl">
            <a class="layui-table-link hand" lay-text="查看信息" lay-event="showview">
                <cite>{{d.Name}}</cite>
            </a>
        </script>
         <!--图标-->
         <script type="text/html" id="IcoTpl">
            <i class="layui-icon {{d.Ico}}"></i>
        </script>
        <script type="text/html" id="pagetypeTpl">
            {{#  if(d.PageType == 2){ }}
            {{d.PageTypeDic}}
            {{#  } else if(d.PageType==1) { }}
            {{d.PageTypeDic}}
            {{#  }else{ }}
            {{d.PageType}}
            {{#  } }}
        </script>
        <script type="text/html" id="IsshowTpl">
            {{#  if(d.IsShow == 0){ }}
            {{d.IsShowDic}}
            {{#  } else if(d.IsShow==1) { }}
            {{d.IsShowDic}}
            {{#  }else{ }}
            {{d.IsShow}}
            {{#  } }}
        </script>
        
        
    </div>
    <script src="/lib/layui/layui.js"></script>
    <script> 
        layui.config({
            base: '../../js/'
        }).extend({
            
            sysmodellist:'devsysmodel/list'
            
        }).use('sysmodellist');
    </script>
</body>
</html>